package Z_exchange;

/**
 * @author： pang-yun
 * @date： 2021-12-15 17:19
 * 功能目的 ：用于
 */

public interface MqConst {

    String EXCHANGE_NAME = "exchange";

    String QUEUE_NAME = "one";


    enum TypeMy {
        FAN_OUT(1, "fanout");


        TypeMy(int type, String value) {
            this.type = type;
            this.value = value;
        }

        private final int type;
        private String value;

        public int getType() {
            return type;
        }

        public String getValue() {
            return value;
        }
    }
}
